<script setup>
import CommonAside from '@/components/CommonAside.vue';
import CommonHeader from '@/components/CommonHeader.vue';
import CommonTab from '../components/CommonTab.vue';
</script>

<template>
    <div class="common-layout">
        <el-container class="lay-container">
            <!-- 左侧导航栏 -->
            <common-aside>
            </common-aside>

            <!-- 右侧内容 -->
            <el-container>
                <!-- 上面头部 -->
                <el-header class="el-header">
                    <common-header>
                    </common-header>
                </el-header>
                <common-tab></common-tab>

                <!-- 主题内容 -->
                <el-main class="right-main">
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<style scoped lang="less">
    .common-layout,.lay-container {
        height: 100%;

    }

    .el-header {
        background-color: #333;
    }
</style>